<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        /*嵌套的越深权重就越高*/
        .one{
            color: red;
        }
        div.wrap .one{
            color: green;
        }
        /*.container .wrap .one{
            color: yellow;
        }
        body .container .wrap .one{
            color:black;
        }*/
    </style>
</head>
<body>
    <div class="container">
        <div class="wrap">
            <p class="one">hello world</p>
        </div>
    </div>
</body>
</html>